package cn.huiyunche.base.service.enums;

/**
 * Created by qichao on 2017/3/2.
 */
public class DriverCompareResult {

    //比对请求返回状态：1）图片有误或网络异常，未成功完成比对 2）环境ok，成功完成比对
    private String status;

    //比对结果：1）是司机本人 2）不是司机本人
    private boolean isself;

    //比对错误原因
    private String errorMsg;

    //比对结果置信度，范围 [0,100]，小数点后3位有效数字，数字越大表示两个人脸越可能是同一个人
//    private Float confidence;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public boolean getIsIsself() {
        return isself;
    }

    public void setIsself(boolean isself) {
        this.isself = isself;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public DriverCompareResult setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
        return this;
    }

    @Override
    public String toString() {
        return "DriverCompareResult{" +
                "status='" + status + '\'' +
                ", isself=" + isself +
                ", errorMsg='" + errorMsg + '\'' +
                '}';
    }
}
